/* 基础容器 */
.container {
  min-height: 100vh;
  position: relative;
  background-color: #f4f4f4;
}

/* 顶部导航栏样式 */
.topBar {
  width: 100%;
  height: 6vh;
  position: fixed;
  top: 0;
  background-color: #ffffff;
  z-index: 10;
}

.navContent {
  width: 85%;
  height: 6vh;
  display: flex;
  align-items: center;
  padding: 0 10px;
}

.backIcon {
  width: 4vw;
  height: 4vw;
  margin-right: 10px;
  cursor: pointer;
}

.title {
  font-size: 14px;
  flex-grow: 1;
  text-align: center;
}

/* 地址列表区域 */
.addressListWrapper {
  margin-bottom: 80px;
  margin-top: 14%;
}

.addressItem {
  width: 88%;
  margin: 1px 2%;
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.addressInfo {
  flex: 1;
}

.userName,
.userPhone {
  margin-right: 10px;
  font-size: 14px;
}

.defaultTag {
  background-color: red;
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
}

.fullAddress {
  margin-top: 8px;
  color: #666;
  font-size: 13px;
}

/* 地址操作按钮 */
.addressActions {
  display: flex;
  align-items: flex-start;
}

.actionIcon {
  width: 18px;
  height: 18px;
  margin-left: 15px;
  cursor: pointer;
}

/* 新增地址按钮 */
.addButton {
  position: fixed;
  bottom: 20px;
  left: 3%;
  right: 3%;
  height: 50px;
  background-color: red;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.addIcon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

/* 提示消息样式 */
.hintContainer {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
}

.hint {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
